package com.xunshibao.action.oauth.kaixin001;

import java.util.Map;
import java.util.Set;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value="/kaixin001")
public class KaiXinController {

	@RequestMapping(value="openid")
	public void openId(HttpServletRequest request) {
		Map<String, Object> params = request.getParameterMap();
		Set<Map.Entry<String, Object>> entries = params.entrySet();
		for(Map.Entry<String, Object> entry : entries) {
			String key = entry.getKey();
			Object obj = entry.getValue();
		}
	}
	
	@RequestMapping(value="/kx001_receiver.html")
	public void receiver(HttpServletRequest request) {
		Map<String, Object> params = request.getParameterMap();
		Set<Map.Entry<String, Object>> entries = params.entrySet();
		for(Map.Entry<String, Object> entry : entries) {
			String key = entry.getKey();
			Object obj = entry.getValue();
		}
	}
}
